package com.dingup.paike.service.pk;

import com.dingup.api.model.classInfo.ClassUserInfo;
import com.dingup.paike.bean.dtobean.PkLessonInfoDTO;
import com.dingup.paike.bean.querybean.TimeInterval;

import java.util.List;

/**
 * Created by wancheng on 2018/9/29.
 */
public interface PkLessonUserService {
    /**
     * 删除学生在班级中未完成的课节
     * @param classUserInfo
     */
    void deletePkLessonStudent(ClassUserInfo classUserInfo);

    /**
     * 在班级中未完成的课节添加新学生
     * @param classUserInfo
     */
    void addPkLessonStudent(ClassUserInfo classUserInfo);

    List<PkLessonInfoDTO> getByUserIdAndStartTimeAndAfterTime(List<String> userIds, List<TimeInterval> timeIntervals);
}
